includes("config")
includes("utility")

target("event_store_source")
	set_kind("object")
	add_files(
		"dao/doc_query.cpp",
		"dao/sys_event_dao.cpp",
		"dao/sys_event_query.cpp",
		"dao/sys_event_query_wrapper.cpp",
		"sequence/sys_event_sequence_mgr.cpp",
		"store/sys_event_backup.cpp",
		"store/sys_event_database.cpp",
		"store/sys_event_doc.cpp",
		"store/sys_event_doc_lru_cache.cpp",
		"store/sys_event_repeat_db.cpp",
		"store/sys_event_repeat_guard.cpp"
	)
	add_includedirs(
		"include",
		"$(projectdir)/base/event_raw/include",
		"$(projectdir)/base/include",
		"$(projectdir)/base/running_status_logger/include",
		-- "$hiview_root/include",
		{public=true}
	)
	add_includedirs(
		"include",
    	"store/include"
	)
	add_deps(
		"hiview_event_raw_decode",
		"running_status_logger_source",
		"hiview_reliability_common_utils",
		"event_store_config_source",
		"event_store_utility_source"
	)
	add_packages(
		"c_utils",
		"hilog",
		"jsoncpp",
		"openssl3",
		"zlib",
		"sysevent",
		"minizip"
	)